projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5879ac6
)
(ido-wide-find-dirs-or-files): Use shell-quote-argument.
author
Kim F. Storm
<storm@cua.dk>
Fri, 6 Oct 2006 12:49:12 +0000
(12:49 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Fri, 6 Oct 2006 12:49:12 +0000
(12:49 +0000)
lisp/ido.el
patch
|
blob
|
history
diff --git
a/lisp/ido.el
b/lisp/ido.el
index b68a4622ef81ac468aab1d3b7b187bbb97bebe2a..d4ed85ea1054196004dd23bad04bd296f80fbc29 100644
(file)
--- a/
lisp/ido.el
+++ b/
lisp/ido.el
@@
-3136,7
+3136,12
@@
for first matching file."
(let ((filenames
(split-string
(shell-command-to-string
- (concat "find " dir " -name \"" (if prefix "" "*") file "*\" -type " (if finddir "d" "f") " -print"))))
+ (concat "find "
+ (shell-quote-argument dir)
+ " -name "
+ (shell-quote-argument
+ (concat (if prefix "" "*") file "*"))
+ " -type " (if finddir "d" "f") " -print"))))
filename d f
res)
(while filenames